package v2

import (
	"github.com/gin-gonic/gin"
)

type JsonResPonse struct {
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

func Aggregation(r *gin.Engine) {
	v1 := r.Group("/v2")
	{
		v1.POST("/create_image_cache", ECICreateImageCache)
		v1.GET("/describe_image_caches", ECIDescribeImageCaches)
		v1.GET("/describe_available_resource", ECIDescribeAvailableResource)
	}
}
